Loans API
Get Existing Liabilities
Description: This endpoint is used to get existing liabilities based on id. The id being passed in path parameter..
Mulesoft Request:
Headers:
Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, Authorization
Optional Headers: x-sub-channel-id,x-user-id, client_secret,x-debug-flag,x-debug-flag, x-customer-id
Paramaters:
URI Params: {id}
Query Params: NA
Content-type: application/json
Mulesoft Response:
Success Response: (200)
{
"status": {
"success": true,
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"liabilities": [
{
"customerNo": "2000302",
"accountNo": "4402355",
"loanAmount": "12130.764",
"currentOS": "12130.764",
"nextPayment": "270.194",
"nofRemaining": "50",
"settledBills": "0",
"totalOsBills": "1",
"totalDueDays": "107",
"interestRate": "7.5",
"totalDueAmt": "260.163",
"dateGranted": "20191024",
"loanType": "Retail Personal Loan"
},
{
"customerNo": "2000302",
"accountNo": "4403698",
"loanAmount": "57233.007",
"currentOS": "57233.007",
"nextPayment": "419.034",
"nofRemaining": "294",
"settledBills": "0",
"totalOsBills": "1",
"totalDueDays": "107",
"interestRate": "7.25",
"totalDueAmt": "421.062",
"dateGranted": "20191024",
"loanType": "Retail Housing Real Estate Loans"
}
]
}
}